WIP, loops are there, but nav bar is not right yet

Hey Sumeet!  
  I am trying to get a custom nav bar working and have tried a number of different PHP loops.  I'm trying to have the parent pages be the nav bar <li> and the children pages drop down from them.  Right now I have one dropdown with all of the pages listed.  Any suggestions?