edits to homework assignment 1, part 1