Added analysis of algorithms complexity