Adds logic for generating board map