update music_shop_tables.sql and add the functionality to write purchase
into database. To test the program, use the latest sql file (old ones
doesn't work)