COS246 Android Project 3 N-Puzzle