Updated Code

Uncommented selections of code
Fixed Graph function