Completed simplegraph class and added corresponding test class.