Government shuts down: How it happened