./random-walk.pl -benchmark -dimensions=2 -steps=3 -show_all Starting Random Walk at 2015_10_06_17:30:46.112 Parameters are 2 dimensions (which has 4 directions) and 3 steps ... Step Direction D1 D2 1 3 0 -1 2 1 -1 -1 3 3 -1 -2 Coordinates stepped on are: 1-1-1 Never returned to orgin Frequency Coordinate 1 (-1,-2) 1 (0,-1) 1 (-1,-1) Direction Frequency 1 1 2 0 3 2 4 0 Distance Frequency Cumulative 0 0 Never returned to orgin 1 1 10% 2 2 50% 3 3 100% For Random Walk of 2 dimensions and 3 steps, distance at which N percent of coordinates are contained 1 10% 2 50% 3 90% 3 100% Timing Data dumped at 2015_10_06_17:30:46.113 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 999_end : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)