implemented basic zombie chase algorithm