updates the AI functions and the utility function to remove the possibility of a nil return value. Also changes the AI strategy to highly favor moves that end the game in its favor and to avoid moves (or series of moves) that could end in it losing entirely. Also modifies Gabes AI testcase to display the final board along with who won.