rsa example: layout
rsa example: n and phi(n) calculation
extracted methods
added layout for primitive root finder example