Made a working prototype of the file writer

It produces bytes from an integer!