Function that returns a list of elements that are common to two lists
Recursive function to reverse a list without mutation