QA Set1

Your swap here will take more time to complete than it needs to. You can use:
holder = array[smallest]
array[smallest] = array[0]
array[0] = holder

This will keep the array from having to resize.