Removed table print function from the Earnings class