Added a missing header to Makefile
Fixed ListConstantData
Added InvalidTypeError class
Implemented some semantics for lists