/**
 * This function takes a list of songs, a start index, and an end index, and returns a custom playlist containing the songs between the specified indices.
 *
 * @param songs A list of songs as strings.
 * @param startIndex The starting index of the slice.
 * @param endIndex The ending index of the slice.
 * @return A list of songs between the specified indices.
 */
fun getCustomPlaylist(songs: List<String>, startIndex: Int, endIndex: Int): List<String> {

    return songs.subList(startIndex, endIndex)
}
/**
 * This function takes a list of songs, a start index, and an end index, and returns a custom playlist containing the songs between the specified indices.
 *
 * @param songs A list of songs as strings.
 * @param startIndex The starting index of the slice.
 * @param endIndex The ending index of the slice.
 * @return A list of songs between the specified indices.
 */
fun getCustomPlaylist(songs: List<String>, startIndex: Int, endIndex: Int): List<String> {
/**
 * This function takes a list of songs, a start index, and an end index, and returns a custom playlist containing the songs between the specified indices.
 *
 * @param songs A list of songs as strings.
 * @param startIndex The starting index of the slice.
 * @param endIndex The ending index of the slice.
 * @return A list of songs between the specified indices.
 */
fun getCustomPlaylist(songs: List<String>, startIndex: Int, endIndex: Int): List<String> {

    return songs.subList(startIndex, endIndex)
}