Adds the KillRing class and its test.
Adds support for the yank and yank pop operations using the KillRing class to keep the killed text.