finished Project2Test.java