fixed solution to excercise 4
added solution to exercise 5; stack overflow is the correct solution with the status quo
removed wrong solutions; TODO
added correct testing values