public static void main(String[] args){
        
        int number = 156870;
        //Create a stack holding all the prime factors of the number that
        //is passed to the findPrimeFactors method
        StackLinkedList<Integer> list = findPrimeFactors(number);
        System.out.print("Prime Factors of "+ number + " are : ");
        //Prints out the prime factors by poping them out of the stack
        while(!list.empty()){
            System.out.print(list.pop());
            //while the list has a next and it is not empty add a
            //multiplication sign.
            if(list.hasNext() && !list.empty())
                System.out.print(" * ");
        }
        System.out.println();
    }