Rename tile_sets kernel, add support for comparator

Rename the tile_sets kernel to balanced_path for consistency with
merge_path. Also add support for giving a custom comparator.
Merge pull request #277 from roshanr95/balanced_path

Rename tile_sets kernel, add support for comparator