added accept coin logic and gbmach keeps track of money put in