Properly implemented plotting
Added grid lines and graph