An inviscid model of vortex shedding flow around an oscillating flat plate