pub fn Selection(arr: Vec<i32>) -> PyResult<Vec<i32>>
Sorts the array using the Selection Sort algorithm.
arr
The sorted array.