documentation of cell class
documentation of board class
added a couple of optimizations