Added Read input by line and tests for sevenSegment