Homework 4 - Other Types, Problems 1 and 2 - solved