Added some basic examples and fixed using already created object in
simple graph method caller