An extension of my original decimal to binary algorithm script, but using chatGPT from OpenAI (https://chat.openai.com/chat) to analyse the code and modify it for the following text description request: "can you modify this code so the output is no longer a list"