Density waves of granular flow in a pipe using lattice-gas automata | Synapse