Added functions to buy a part, restock a part, and return a part. 

Use "include 'functions.php'" to use any of these functions on a given page.