Design and Construction of a Computer Controlled Astronomical Spectropolarimeter