created tester class and heap class