Project Euler 188 - The hyperexponentiation of a number

Official link: https://projecteuler.net/problem=188