Implemented map(), flatMap(), filter(), filterNot(), withFilter() functions on Option.