implemented replace and remove program line operations

this required remove line and replace lines functions in the program
code class, and new line info list class implemented with functions
(replace, insert, and remove) to adjust the offsets of lines that are
after the line being replaced, inserted or removed