example 6-5: pascal's triangle