Algorithms in Go