created class Graph, updated gitignore