Code from school assignments.