fixed bugs in the compiler and os.cpp now takes in command line arguments