Practicing python/reviewing data structures and algorithms