added Grid + tests for Lines and Grid