Create UninformedSearch

combine code for previous DFS and BFS class, to use generics