Checking to see if there is another path
prev
index
next