Free method makes list point to NULL. Used size_t.