Modified to randomly choose next cell.
Adjusted depth parameter.
Modified to avoid initializing object as constant.
Modified to improve speed.
Modified not to use Array.forEach method.
Optimized code block.
Removed unnecessary variable, self.
Modified not to look up grid properties within the iteration.
Added VECTOR internal variable not to invoke method everytime.
Modified to build traversals data at startup.
Modified to record difference of scores instead of simple summation.
Adjusted depth parameter.