Java code from school work and personal projects