Trying to figure out why the stack is overflowing on what should be a simple read and paste program.