added function composition
fix typos in comment
Merge pull request #180 from pfalabella/func-comp

added function composition