Supreme Court weighs both sides of gay marriage issue