Extracted printing class from TimeSeries.
Added printing for FinalStateResults.