Beginnings of work on build-type-cell. Also, put in checks for function arguments
list lengths.