added a _create_binary function to line_parser, TODO: Write unit tests