Recursive maze - ASCII doesn't work, but logic correct