adding get_latest_rates function
building the array of the lates arrays
array with latest rates passed to js. Next step will be to create the js function which will return rates for each site