Interval Tree Clock implementation for objective c