Coursera class Funcional principles in scala