Add comments to InternalGrid.java