Making the program more general

You could make the program even more general.

For example, you could use the user dialog functions of the world to solicit input from the user as to the values to be passed as parameters.