Implemented function for printing basic statistics