Create a menu upto any depth recursively using PHP