python: a simple list2d type