Fixed the sign function bug and added macro for long long
Added UL_to_binary_array function