Final project for Java class