Print out results of algorithm