Minor edits

Modified structure of compile.ml to add variables that can be used
within main function sope