Add examples/unitary

Includes code from Clarice D. Aiello <clarice@mit.edu>