Shapes in JS

Implemented functions for rectangle and triangle. Also explored drawing with user inputs.