minor typos and fixes in c++ and arduino indices