Initial move selection code for highlighting moves.