Ran Scotty's test and found some bugs in change_prio, which are now
fixed. Short version: I actually already don't remember because they
were weird. Annoying edge cases with linked lists, I know that much.
Also a few dumb things in Scotty's program (like the fact that the
children were going to run for a very long time before exiting. :P)
Fixed that too.