A program that when given a string 'S' and a character 't', it prints out the position of the rightmost occurrence of 't' (case matters) in 'S' or -1 if there is none.