solved problem 0001
removed *~
add source files for problem 1