Interaction of collinear cracks