All kind of algorithms in Golang