The results are stored in a struct. Function for printing.