run with:
go run main.go
you will need to put your input into input.txt first though. replace input.txt with your puzzle input