forked from: forked from: maze generation and solution algorithm (complete)

