public void checkWordExists(String testWord)
	{
		if(this.allWords.contains(testWord))
		{
			String currentWord = this.queue.get(0);
			int wordsWeight = this.wordWeight.get(currentWord).getWeight()+1;
			
			WordWeight wordWeight = new WordWeight(currentWord, wordsWeight);
			this.queue.add(testWord);
			this.wordWeight.put(testWord, wordWeight);
			
			this.currentWeight = wordsWeight;
			
			if(wordsWeight >= 3)
			{
				for(int i = 0; i < this.wordWeight.size(); i++)
				{
					WordWeight parentObj = (WordWeight)this.wordWeight.values().toArray()[i];
					String wordToRemove = parentObj.getParent();
					int parentWeight = parentObj.getWeight();
					
					if(parentWeight == wordsWeight-2 && wordsWeight-2 <= 0)
					{
						this.allWords.remove(wordToRemove);
					}
				}
			}
		}
	}