Periodic trajectories in Plane Wave type spacetimes