cleaned up generate board logic.
Add in python 2.7 because I'm curious.