Homework #3, indexOf/ substring