The teenager who killed three girls at a Taylor Swift-themed dance class in the UK has been sentenced to 50 years.