add namespace
selection sort implementation