Add Scala worksheets with example functions, tail recursive