fixes in lab 1,2,3,4
Merge pull request #56 from lewenhagen/master

fixes in lab 1,2,3,4