Solutions to Kiwi Pycon 2014 codewars problems