Option.scala
    Implemented sequence (Exercise 4, chapter 4)