Add arrays

Add basic operations of arrays. The [vec doc page](http://doc.rust-lang.org/std/vec/struct.Vec.html) is really comprehensive.