Added date to receipt and used a factory class to create my cash register.