add cash-register.js

added the cash register assignment