Newexercises from week 04 and part of assignment 04