Changed Optimization return type from Recipe[][] to ArrayList<Recipe>