Modified BFS to use 8tilepuzzle stuff. Not fully functional yet.