fixed bug with getCellSize
adding isInBounds function
implemented board boundaries