midElement

fun <T> List<T>.midElement(): T?
fun <T> ArrayList<T>.midElement(): T?

Gets mid element