Java program that randomly gives a heads or tails result