Optimize copy
Speed up detect
Add isEven and isOdd
Rename sub as subtract