Added Cell class as a linked list.
Fixed a lot of things.