List changes unexpectedly after assignment. Why is this and how can I prevent it? List changes unexpectedly after assignment. Why is this and how can I prevent it? python python