public String[] getWords()
    {
    	try 
        {
            in = new BufferedReader(new FileReader("res/dictionary.txt"));

            for(int i = 0;i < totalWords;i++)
            {
            	read[i] = in.readLine();
            }
            
            in.close();
        }
        catch(IOException e){}
    	return read;
    }