CS300 Assignment 3: Using stacks to store, remove, and write words.