Kata6: Added test and implementation for kata 6 (not yet finished).