Fix error on computing the pascal triangle
Refactoring using foldr
triangle using foldl