Create 10-Word.java

Using Booleans