Print the same cube in different colors and join them with an elastic cord.You can try to make the shown patterns.