My solution for the last kata