Add swap method to Vector class.
Add endsWith family methods to String class.