Implemented basic integer factorisation

An implementation for [integer factorisation](http//rosettacode.org/wiki/Factors_of_an_integer). This is one of my first forays into Rust, so advice is welcome.
It is not necessary to return a `Boc<Vec<int>>`. You can also return a `Vec<int>`.