Multiparticle quantum walk with a gaslike interaction