Create Pyramid Exploration Java Code