Ajd chapter6

ajd chapter 6
You did more or less the same as me (except I worked from the other end of the string for some reason). @SimonGross pointed out you could use `.charAt(int)` instead of one of the substring calls, which is a bit more efficient.