Created map of lines to codes represenging type of line