Added simple overlap calculator for time periods