Taking a stab at the exercises at exercism.io