- fixed most memory leaks
- fixed bug in only_legal_moves_from (found after null changes), fixed memory leak
- changed merge_list_moves to another implementation
- removed wrong free calls from opponent_can_move_to_position