A function made in ruby during a programming lesson to print out pascals triangle.