finished problems 1 through 6