added newCustomer function to add a customer