Complete solution for Pascal's Triangle