add solution for linklist cycle ii