improved ex_5 & added gitignore