relearning python, playing with data structures