./random-walk.pl -benchmark -dimensions=4 -steps=5 -show_all Starting Random Walk at 2015_10_06_17:30:46.532 Parameters are 4 dimensions (which has 8 directions) and 5 steps ... Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 2 1 0 1 0 3 5 1 0 0 0 4 6 1 0 1 0 5 8 1 0 1 1 Coordinates stepped on are: 1-1-1-2-1 Never returned to orgin Frequency Coordinate 2 (1,0,1,0) 1 (1,0,1,1) 1 (1,0,0,0) 1 (0,0,1,0) Direction Frequency 1 0 2 1 3 0 4 0 5 1 6 2 7 0 8 1 Distance Frequency Cumulative 0 0 Never returned to orgin 1 2 10% 2 5 100% For Random Walk of 4 dimensions and 5 steps, distance at which N percent of coordinates are contained 1 10% 2 50% 2 90% 2 100% Timing Data dumped at 2015_10_06_17:30:46.532 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)