added check if 2 lines are parallel