working simple maze