Modified FavoritePastries.java

Added the methods according to the assignment specs. All tests pass!