Solved BinaryGap in C