add analysis of algorithm in readme