Added pythoon solution