Add method printTableResult to TableResult class