private int insertNewWord(String word) throws SQLException{
	    
        String insertQuery = String.format("INSERT INTO word_dictionary (word) VALUES ('%s');",word);
        this.dbConnection.execute(insertQuery);
        
        //Verify word has been entered in the database
	    String query = String.format("SELECT wid FROM word_dictionary where '%s' = word;",word);
	    ResultSet rs = this.dbConnection.execute(query);
        int wordID = 0;
        rs.next();
        if(rs.isLast()){
            wordID = rs.getInt("wid");
        }else{
            //Still doesn't exist, well. We are kind of screwed.
            rs.close();
            throw new SQLException("Word was not sucessfully inserted. Sokgraph cannot be inserted without an associated word.");
        } 
        rs.close();
        return wordID;
	}