Cheddar breaks down three ways smart cities are using IoT to improve safety and increase efficiency.