Stack operations implemented.
Simple syntax fixes.