Create Pascal's Triangle

My first code snippet for LeetCode. This is an easy problem, however not an easy task. Be careful with edges of vectors.