initialize grid with dots