Thanks Guys,
Its not a classroom stuff. But I am trying to understand more about VI. I know it can be done using commands.
And ya, I need the result of the code given by zaxxon, but trying to do it in vi itself.
I tried using selecting using visual block and pasting it in the required place, but its giving me a TAB kinda space between the words pasted and the lines. Thinking on y its happening.
So thought i may be doing in the wrong way,so to get clarified.............