Finished rough implementation of ProductStatsCalculatorImpl.java.