Programming: Write a function that reads a line and reverses the words in the line (not the characters) using a stack.
For example, given the following input: The quick brown fox jumps over the lazy dog.
You should get the following output: dog. lazy the over jumps fox brown quick.