Pupils dig for some medieval history