added style-corrected Scala-exploring code
added tests for partial functions
more tests for partial functions