A simple program which returns the prime factors of a number. It uses a stack to hold the factors.