Implemented displayResults().