Fixes memory allocation for word vector.
Adds vector_free() for freeing memory allocated to word vector.
Renames size element in vocab and doc list for consistency.
Adds new test data file.