messed with ex4 on linux with Valgrind
exercise 7