snake demo game from android samples with some modifications