Created a class for cells.