I am writing a really simple program to try out some stuff and I came around a problem I can not quite solve. When I want to work with a variable this variable is randomly chang