@3run
Check for the highest value into the array and make it the starting point. That is the reason of 'cells_to_end' variable. Note that only odd cells can be a deadend cell wink


Last edited by txesmi; 09/29/13 09:15.