Added algorithms names to the output, and added some comments