Teen sentenced to 43 years for killing school principal