Add hasPredecessor(), hasSuccessor(). Implement circuit(). Begin computeDates implementation. Remove useless code.