Create basic_graph.r

adding basic graph examples