Simple example to calcualte pascals triangle