To test some code while reading the book named thingking in java.