check right neighbor of maze