Basic reporting data structure and algorithm working - need sorting and formatting.