Code for school assignments