added Pyramid.java