Logic to make c2c and corner moves happen