Changed Food class to maintain functionality of getAllFoods(), getFruits(), and getVeggies() methods