Altered code so that only 'movable' tiles will move on click.