Added updated as well as more organized code in folder programGraph