fix bugs in drawGraph and addValue functions
update TODO list