task 4: made bit-reverse instead of bit-inverse;\n more tests added