Project for programming class (Java)