Here is the modified binary tree maze algorythm. modified binary tree maze