modify pascal's triangle