fixed the bug in isNext
Merge branch 'master' of https://github.com/ihenria/3202g2
merge