Corrected issues with pointers and compile errors
cleaned up the compiles
enhanced to include self test and accept arguments for number of customers per ticket seller