A numerical study of the response of a barotropic ocean to a moving hurricane