Solution to Angry Children problem (required quick sort to meet time constraints).