cube toy beads

You put elastic down the middle and they stay together in whatever shape you twist them into.