Implemented more Scala exercises