Two-dimensional maze