Added filter, append, and flatMap to Stream