Adding files with the solution and an example of cached vectors