updated the code so that it would run even with extremely large N (number of closest words), such as 5000
updated the code so that it would run even with extremely large N (number of closest words), such as 5000

git-svn-id: 494299a540dfce6f603cd32c6b58bdd9f239284e@36 c84ef02e-58a5-4c83-e53e-41fc32d635eb

andrewt3000/word2vec,mrkn/word2vec-mirror,Aureliu/word2vec-mac,William-Yeh/word2vec-mac,svn2github/word2vec-mac,svn2github/word2vec-mac,bpiwowar/word2vec,dusual/word2vec,dusual/word2vec,svn2github/word2vec,joshsilverman/w2v,mrkn/word2vec-mirror,bpiwowar/word2vec,Aureliu/word2vec-mac,andrewt3000/word2vec,svn2github/word2vec,joshsilverman/w2v,dusual/word2vec,William-Yeh/word2vec-mac