added section for the encounter probability between linear chain and a loop (unfinished)