Simple pascal triangle implementation