solve pascal triangle 1 and 2