Changed str->row to use map-indexed instead of map.
Changed board->str to use thread last macro.