Implemented increment and encrypt as well as added a test for rotor