Going through _Programming Bitcoin_ the book, but in rust