Changed Grid to store booleans.