updated some answers on homework 1