Simple example for retrieving data from fred, calculating the cross-correlation function, and plotting the result