Added Glodbach algorithmx