working on extension through inheritance
Chapter 9 excersies done , 9-3 is not working and giving me errors.
starting from chapter 10 i will divide up the problems. Currently working on chapter 10. The reason being is that it does not require importing of rectangle,square,XYPoint classes.