A Relativistic Study of Gravitational Instability in the Expanding Universe