added algorithm complexity studies