Changed stack implementation to a better one. Fixed zad3 - I apparently misunderstood what I was supposed to do in that assignment.