So he sang a very mournful song that he made up on the spur of the minute , and just as he got to the most touching part , the grass quivered again , and Rikki-tikki , covered with dirt , dragged himself out of the hole leg by leg , licking his whiskers .