public String findRandom()
	{
		//the result with the linked list at the random position in the table
		String result = "";
		ListNode newNode = null;
		Random random = new Random();
		int position = random.nextInt(hashListSize);
		int positionInList = 0;
		boolean initialised = false;

		//while the data is not initialized
		while(!initialised)
		{
			if(hashlist[position]!= null)
			{
				positionInList = random.nextInt(listLength[position]);
				initialised = true;
			}
			else
				position = random.nextInt(hashListSize);
		}

		//loop over linked list in the random position in table to get the random data
		for(int i = 0 ; i < positionInList;i++)
			newNode = hashlist[position].getNext();

		if(positionInList > 0)
			result = newNode.getData().toString();
		else
			result = hashlist[position].getData().toString();

		//return the result
		return result;
	}