Dont search to position if wall or box.

In main, changed how to imput map!