Coded the create customer thread