Made changes to the graph.js file and started on the rectangle function