Crated First Algorithm