Few Advanced and Tricky Parts of Scala