Added more functions to PascalTriangle