text: if the last digit is odd then string is not divisible by 2 hence not a power of two return 0.
code: if ( ( ord ( sttr [ len_str - 1 ] ) - ord ( '0' ) ) % 2 == 1 ) : NEW_LINE INDENT return 0 ; NEW_LINE DEDENT