Activity Three

Fixed some of the indexOf statements that I missed.