Added command-line interface

Can now convert one line at a time through command-line type interface rather than using a pre-written file.