Add a routine to read a file into a vector

Also renamed goto_line() to go_to_line()