changed code to input the var color in the log message and added periods to the end of each log
changed the if/else statement for the color exercise into a switch