added ex4 and updated gitignore