Updating of precomputed tables in do_purchase.
Merge branch 'master' of https://github.com/Nobel5/cse135project3.git