Implement method to find all legal moves for the AI at some point during a game.