Exercise 4.1: strrindex() added