Compute and print stack depth of program.

Source file: primes.c