Added the arguments array for functions.
Wrapped the program in a top-level function call.