add func which display pascal triangle