Added several functions to compile.ml
Merge branch 'master' of https://github.com/YichiLL/4115PLT