Added samples for Function Composition and Event Emitters