decimal to binary example code