4. For n=1,
For n =2
   For n=3,
  For n=4,
 Remember the order of filling as follows: