add some scala solutions