a buddy system in go (c version: https://github.com/wuwenbin/buddy2)