extend ant problem to calculate every ant leave time and ant collision times by given all ant positions and initial directions