Adding list reverse function to list module.