Update ToChecktheShare.java

This program has fixed yesterday's bug. So you can go through the page automatically until you reach destination page.