First few problems, Python/Ruby