first version of graphs

not at all finish