completed till problem #69 of the 99 scala probs