The most successful entrepreneurs were trying to solve a problem, says Shark Tank judge Daymond John.