changed push_master, changed get_all_legal_moves
cleaned memory leaks and game file