Implemented code for method displayWednesday()