Split a list into 3 parts:
http://stackoverflow.com/questions/322401/algorithm-to-split-an-array-into-n-groups-based-on-item-index-should-be-somethi