finished alpha version of the graph library in python