slot machine code in android