adding Cell class and some methods to Board class