Update pyramids.java