Added the getRecipe method

Implemented function to receive a recipe as input and return the recipe.
Also implemented total price method for the Recipe class.