Minor changes made to main.go to support timing and cleaner result output.