implementation of maze pseudocode