javadoc
add Floyd's cycle-finding algorithm