replaced `init` with proper arithmetic operators

This patch is replacing the totally retarded implementation with a less
retarded implementation. Yet it still feels retarded.
Use doctest
Removed unused import