lesson 2

added Square class and learn about inheritance