redesigned the game file and implemented a breadth first search