Design and construction of a computer controlled industrial robot