Investigation on shear layer instabilities and generation of vortices during shock wave and boundary layer interaction