updated cell.cc and cell.h

added setBlock()