Adding equality and comparison logic to String class.