Finished #24

Handy STL algorithm made this one a piece of cake.