Added code to translate a recipe problem into math problem