Solution to Look-N-Say in Python