updated function call in main

Updated call to FreeVariableGenerator in Main