added compile function
generate .bc files instead of .ll files