Programmable matter is a material or system which can be programmed to change its physical property such as shape, stiffness, color, density, etc. The ability to change its property to the targeted, the object overcomes limitations from the static matter robotic systems. We aim to develop programmable matter which can change its shape from the simplest shape to complex 3-D shape. To achieve the large change of the shape, soft material is used in our approach. Currently, we have developed SoftCubes, which is able to change its shape from a single string to desired complex 3-D shape with the preprogrammed shape. The restoring force from the soft material gives restoration of programmed shape, and magnetic interaction minimizes shape misalignment from magnetic interaction. Potential application of this project is injectable medical implant or anchor for minimal invasive surgery or natural orifice trans-luminal endoscopic surgery (NOTES).