Bitwise Interview Question

5. pseudo code for factorial