adding part2 class and part2 test.java