adding holland algorithm