add prog1 source code