Congress gets majority in Karnataka