A series of pulses vaccination in SIR model - Understanding periodic orbits and irregular trajectories