Updated reflex agent to pick best tile.