Added function composition (Issue #5)