switch statement prints day of week