update algorithm for checking booking/facility availability - use "brace counting algorithm"