CMSC312 final, bank/teller problem