Copyright to moea example

Addedthe copyright header to the moea example.
Updated simple_tests example

Cleaned up the simple_tests example. Added copyright headers. Added a
readme. Fixed the code.