Solution for Pascal's Triangle