added new program to show an example of the program. fixed issue if there were no free parameters.