Fix for g++ -Wall warnings
add gitignore
update readme