initial setup and answers for ex 1,2,3,4