Add support for average time on tasks

Updated readme to reflect the new feature added

Added tests for average