Provided Error datatypes to Compile
[Green] Added test cases for Compiler

Minor change in runCompile(T) signature in order to adapt it
to the signature of runState(T)