Beginning of homework 1