Prolog - SWI
1) Make a function evenlength(List) that determines if a list has an even number of elements. The function should return true or false.
2) Make a function reverseeven(List, Reversed) where your previous evenlength function is used to check if List has an even number of elements. If it does, reverse the list. If it does not, return the empty list.