Trial-and-error computer methods for the indexing of unknown powder patterns