Put board in an atom and updated the draw function appropriately; fixed exception syntax