Pedestrian flows and non-classical shocks