create python implementation of latent semantic indexing