Added equality of Strings
Added string as parameters
Added examples for indexOf() and substring()