Wrote abstract Ingredient class and its test.