Homework week 4, basic and intermediate