A swimming gala in memory of 12-year-old William Magowan saw students from his two former schools go head-to-head in one of his favourite sports.