problem 14 function pointlessly returned a tuple rather than count, also commit changes to comments in problem 31 found on disk, though as far as I can remember it didn't work