Port of jmbedlogo to Python