this is my first example program of thinking in java