How To Print Pattern In Java Using For Loop