Python Draw Lines Without Crossing