Added running time measurement to solution output.