The function nextMonth(date: String): String takes an ISO 8601 date and time string (e.g., 2022-02-01T22:10:00Z) as a parameter and returns an ISO 8601 date and time string of the following month.
Write the correct code for the nextMonth() function.