adding documentation for vector library