A numerical method to solve an acoustic inverse scattering problem involving ghost obstacles