Basic line intersection implemented