Additive manufacturing: from 2D to 4D printing