Implemented Grid class;
NEXT - complete all f();