Update Part2.java

Finished Part2.java