Pupils from a York-based primary school have been crowned chess champions at a tournament held at a London football stadium.