Create comm_split_byhost.c

Added the split-by-host utility.