Started adding code to get best move