Implemented UnitFactor's convert
Abstracted the convert method from Number to Unit
Created a new method called equalType(). It does the same thing as isType() except it takes in a Unit object instead of UnitType

Implement UnitFactor's convert method #11