Some lecture notes and script for selection sort.