[LC] Added solution to pascal's triangle 2.