Unfinished version of SCCsequence. Need to use stack!