Basic implementation of recommendation algorithms in Golang