Played around a little with the quicksort and pythagorean_triples files. My old code was really bad.