[go] algorithm implementation now in their own package