The Algorithm of Manfred Mohr