Creates logic to move tiles to edge of screen in direction swiped by user
Adds logic to check if a tile is occupied when moving