Added the  board class and then poured functions that probably don't belong with it into it. with enjoyable results.