Revert "Loops: gcd and isPrime"

This reverts commit 0146bdca33954d82d2ec9ff0389c787ec3645ae1.
Loops: added gcd and isPrime