Update Assignment5Part2.java

This compiles