refactored

moved array to global and refactored Lines to be subclass of Scribble