Added option to print number of stored messages.
Formatting
Fixed bug that caused overcounting of lines. Formatting.
Wrote some functions for inserting lines into LINE struct.