Pascal Triangle using pointers in C