School project in JAVA