Nine-year-old Shay Martin was Murrayfield Primary School's winner, with the judges voting his joke the best in class.