Vortex Dynamics of a Vortex Pair in Wall Effect and Flapping Airfoil Propulsion