Bloomberg Interview Question

write a function to calculate arbitrary row/column values in pascal's triangle