Added Mega
Added some tests for the Mega algorithm