Found a way to get the index location of a value in the lists.