Line number issues fixed

Fixed line numbers appearing in the middle of the lines. Now just need
to fix duplicating line numbers.