Added Kata 04 part 2 implementation