Commented code and removed temp files. Should probably check if the system is little/big endian, right now it is hardcoded for little endian