Fixed memory leak

Need to delete piece_list after we're done with it