added shapes and lines object

learn to create classes (objects) along with using javascript prototypes
and closures