Adds a function for converting 32 bit ints to bytes.
Can now express integers in big endian format.