added python sol