Solve Problem 31: Rightmost Char