factored out wall position into a class
move search and related classes