changed how we store solution/distance and associated functions so we can store values for different algorithms at the same time

#note to self: update create_png so it writes to different images and
also labels which algorithm used