Update main.cpp

removed is_big_endian method