add main() method for compiling java source files to bytecode