Wrote constructor for Cell.