isValid(int) ==> private; new fill() to fill the grid