Design and construction of a smart wheelchair