Implementation of a stateful "StringShift" class that overloads some common operators (<<, >>, = , ==)  with some string operations