Added code (graph.js & main.html) based off of Curran's lecture.