Android puzzle game code