A dorm-room project became HackerEarth. For Sachin Gupta, learning to sell it opened the door to a second company - and another process he wanted to fix.