Algorithms implemented in Go