added diagonal seeking (with bugs)