Adds BF solver method, State class now compolete
added bfs and dfs