forked from: maze generation and solution algorithm (complete)

