Finished ch2 problems