Changed sumColor to get the existing redstone output before performing any actions
Added code to reset the redstone outputs when starting the program