Pupils from a Swindon school have won the chance to have their short stories published in a book celebrating the country’s best young writers.