γ-cascade: a simple program to compute cosmological gamma-ray propagation