add solution for pascal triangle