The function daysDifference(date1: String, date2: String): Int, where date1 and date2 are ISO 8601 strings representing dates (for example., 2012-07-23), returns the absolute value of the days difference between date1 and date2 (always positive).
Write the correct code for the daysDifference() function.