Added dual heap initial version with tests.