Create Motor.cpp

extension may be wrong but should work in arduino IDE