chap 9 added my own find index of string class