Fixed the two bugs prevalent

There was a syntax error (not conditional on the for loop) and making
the newtile active after backtracking!