Saving to binary and create program from binary