evaluation function, ai now chooses best move