Done with task e... (problably some errors in this assignment as pointet out by stig)