fixed typo that broke randomWalk