Run file when it is main program
Fix heapsort. Add tests