First implementation of the hierarchical ws algorithm. Still with debugging outputs to me removed. This first implementation assumes every numa node is connected.