added look-ahead for coordinates training

added look-ahead for coordinates training. Also improved 'wrong square' indicator, and improved coordinate generator to exclude same-row and same-file as the previous square