why does arthur first pull the sword from the stone

Here are several different versions of that story.

http://www.rickwalton.com/folktale/bryant75.htm

http://en.wikipedia.org/wiki/Excalibur

http://www.kellscraft.com/ledgends1.html