Adds first part of homework 1