Finished the save and load state functions. Now saves prices of last bought and sold bitcoins as well as total current wealth.