move building-on-windows.md to guide/
fixes guide/Makefile
add .gitignore
various updates to C++ arrays