How AI can learn to generate pictures of cats – freeCodeCamp