Answer to assignment 2, v. 1.0