Given a list of integers and a value, return the position of the
last
occurrence of the value in the array, or -1 if the value does not exist.