added gridlines and click and drag to set cells state