Basic slot machine in Java