add comments for Programming in Scala