pascal triangle in scala