Added functions to initialize game and check valid moves, tests pass