Functional mechanical metamaterials - development of programmable mechanical structures