public static void main(String[] args) throws Exception {
        WikiPageRanking pageRanking = new WikiPageRanking();
 
        //Job 1: Parse XML
        {
	        String[] funcArgs = {args[0], "wiki/ranking/iter00"};
	        pageRanking.runXmlParsing(funcArgs);
        }
 
        int runs = 0;
        for (; runs < 5; runs++) {
            //Job 2: Calculate new rank
        	String[] funcArgs = {"wiki/ranking/iter"+nf.format(runs), "wiki/ranking/iter"+nf.format(runs + 1)};
            pageRanking.runRankCalculation(funcArgs);
        }
 
        //Job 3: Order by rank
        {
            String[] funcArgs = {"wiki/ranking/iter"+nf.format(runs), "wiki/result"};
            pageRanking.runRankViewer(funcArgs);
        }
        
        System.exit(0);
    }