Untested version of RandomWalk
Merged conflict due to RandomWalk class