the program can write binary integers

The program is able to write binary integers at the moment. Next step is
to add reading these fixed size integers.
we can now read an integer from the binary file