Added HW 7b to Shapes.java