add ruby, scala for problem 2