added room entry recognition, ends turn upon entering a door square.