Scala: Functional Programming: Completed and Submitted Streams Assignment