This article reports work carried out toward the B.Sc. degree in the Department of Electrical Engineering, University of Engineering and Technology, Lahore, Pakistan, under the supervision of Professor Shahid H. Bokhari. Our computer laboratory is supported by donations from Syed Maratib Ali Trust, the Babar Ali foundation and UET alumni worldwide.