Code written as part of Leeds Code Dojo Katas.