Buying items logic (not finished)