Make simple-cipher exercise compatible with Python3