Spin-Dependent Transport through the Finite Array of Quantum Dots: Spin Gun