native app studio n-puzzle assignment