Implementing StringStack for job interview.