NewImg and DestroyImg, and now using a linked list for the imgs