A road generating algorithm.