Python set manipulation guide