enemy controller and wandering behaviour added

"wandering" might course error when pointing to a non-free space.