Added path generating algorithms.