Added the consistency in base index for chunks in assign() and resize() function. Also added the exception for invalid vector when n is specified as 0
Added user documentation for all files