Initial draft of algorithm for sorting people into buckets

Doesn't take into account preferences