add README
add error computation for problem4
move stuff around, use global variables (eek)