Update main.go and sample.txt