Graph Function

Code for the graph function for question 6.
Merge pull request #2 from MissBernadette/master

Graph Function