A Model For An Alloy With Shape Memory