started on Compiler class to compile both file-based and memory-based source code.