first commit for homework 1

did a rough run-through of problems 1 thru 3