MULTIDIMENSIONAL COSMOLOGY WITH m-COMPONENT PERFECT FLUID