How to build a brushed dc motor