Some python exercises