A lesson from Zuckerberg and Dorsey inspired these students to build a multimillion start-up