Holiday homework

A holiday homework was uploaded. It is a merge between the problems
concerning lections 8 and 9. Happy coding.