Adding homework 3 and 4