Added CycleDetection module.  Algorithm still written on chalk board and not actually in this file yet.