fixed ending condition bug and made numCustomers an int because it made no sense before