basic structure and simple graph-fixed error

Fixed the error with the previous Basic structure and simple graphics
commit.