made Cell as a trait instead of an abstract class.