created a switch and if and elseif to output the current day of the week