Refactored FuncExtensions. Implemented functional composition (fixes #10). Written several samples.