Pascal Triangle class and function