Finished Line Graph Code