update README
create examples directory and fix some warnings