Obligatory excersices to https://www.uio.no/studier/emner/matnat/ifi/INF3380/index-eng.html 2013