Fleshed out the Purchase class. Fixed insertTuple methods to support
null values.