File saving

The simple data format for the programs is done, and it's now possible
to save the programs in files. However, it'll be hard to implement file
opening.
Saving files