unit converter with custom Types (lecture 5)