added template for jug search bfs/dfs, added graph comments