adding exercise 26 (broken and fixed version)