added compilation info to README.md and added header guards