Solution of Python Koans 2