Alexis Ohanian and Steve Huffman were both 22 years old and had only recently graduated from the University of Virginia when Google offered to buy their new company — a website called Reddit.