Added problems 4-7 and improved problem 3