added compilation info to README.md and added header guards
Merge pull request #3 from KostyaKow/master

I gotta update my stuff.