Researchers at Carnegie Mellon are creating an innovative pasta that morphs into different shapes once it's cooked.