P01: returns element for single element's list
gradle files ignored
P01: returns none for empty list
P01: returns last element of list