Add darray update element function

Have also started creating documentation for darray.
Merge branch 'master' of github.com:chutsu/dstruct