Solve Exercise 4-1: strrindex()