Iterative sorts

We applied the four loopy questions to develop two sorting algorithms: selection sort and insertion sort.

Note: We didn't write tests during lecture, but it turns out when I did write the tests, they all passed. There's a lot of little corner cases that can go wrong when writing complicated loops, but writing down your invariants carefully helps you get them right the first time!