Add selectionsort algorithm php version