wrote python line drawing