Updating slice notation to support strings and fixing negative index behavior