First commit of the assignment solution. Both functions executed without errors. Seems to be ok.