Added functionality for find_missing_index.

It isn't working all that well but at least it's a place to start.