Project 2 for Java142