command line program generates math problems for the user to solve based on inputed parameters