Binary Reduction to Zero - Coding problem | OneNoughtOne