cleaned up printing to the console and added comments to the algorithmtester program