Added code to ClimbPyramid.java