The country appears headed for a coalition government. But the process of building one could take months.