Lengthen Functionality

Adding variables and functions to support increase in path length without losing current progress.