Implemented cttz and ctlz

TODO: Test cases not working.