'''
Created on Dec 1, 2014

@author: Susan
'''
def swap(i,j, somelist):
    # swap the elements in positions i and j of somelist
    #TODO:
    
def indexOfMin(items, start):
    # return the index of the minimum element in 
    # the list items, considering only the elements 
    # from position "start" to the right end of the list
    minIndex = start
    for index in range(start,len(items)):
        # TODO:
        
        
    return minIndex
 
def SelectionSort(items):
    for index in range(len(items)):
        # TODO:
    
        print "one pass: ", items
    
    
    
alist = [3, 7, 2, 9, 1, 8, 6]
SelectionSort(alist)
print alist
