Studying Scala programming