finish leetcode 118 Pascal Triangle Problem