Filled out the recursive map function but it's not working yet