Patrick - Added functions to choose best move (random for now).