Statistical conformation of a polymer in a nematic medium under a shear flow using the Rouse model