algorithm_rust 0.6.0

some common rust_algorithms, Everyone can participate, and the project will continue to be updated, all the algorithms comes from <Introduction to Algorithms III>
Documentation
///线性查找数组中的最小值
///# Examples
///```
///
///let mut  a  = [7,3,5,1,9,65,4,5];
///
///use algori::search::min_search;
///let c = min_search(&a);
///assert_eq!(c,3);
///```
pub fn min<T: Ord>(array: &[T]) ->usize {
    let mut min: &T = &array[0];
    let mut min_index: usize = 0;
    for i in 1..(*array).len() {
	if (*array)[i] < *min {
	    min = &array[i];
	    min_index = i;
	}
    }
    min_index
}