add generate(int) for Pascal's Triangle

- for Dec.7's submission