package common

object ListUtil {
  implicit class ListSplit[A](list: List[A]) {
    def cutOff: (A, List[A]) = (list.head, list.tail)
  }
}
Add util to split list on head and tail
Add util to split list on head and tail
