Political factions in Iraq have been maneuvering since the parliamentary election more than a month ago to form alliances that will shape the next government.