First 5 scala problems