HW project for JAVA