SelectSort

two methods
the  second without other space