Fianna Fail and Fine Gael looked well placed to return to power but Sinn Fein insists it could be part of a new government of the left in Ireland.