raw copy from selection sort project
move modules into their own files
include the khan prompt for selection sort