Exact solutions of the Hirota equation and vortex filaments motion