Computing pascal triangle iteratively.