Update documentation with examples for various int, vec methods.

add int::range(), int::remainder() examples
add vec::foldl(), vec::foldr() examples