new comments and removed unnecessary curly brace
updated file
changing so line_count returns a struct
updated header file to hold struct and so functions return structs