Drag and drop snap to grid complete

Now I need to check if a tile is occupied, and other things