Generalization of the Ehrenfests' Wind-Tree Model