Indexing A Diffraction Pattern