lander exercises in scala