Cadets recall drill at Kennedy funeral