Added orignal Python implementation.
Added more methods to Grid().