Generation of Mechanical Energy using a Nitinol Wire