Adds all parts of homework 1