fixed a bunch of stuff, and made a Board() class