Update logic.reds

random for logic! The code works but when used in the program values are constant like input value true (or false)