Finish move algorithim