smarter shapes with draw function in the base shape class. Added Triangle to the basic chapes