week 4 scala