Higher Dimensional Collapsing and Expanding Models of Anisotropic Source