added a solution for Pascal's Triangle problem