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.
You could use `x as f64` to cast the number. You could even use `(x as f64).sqrt().floor() as int`.