Added Checkpoint2.java