add graphics
add docu for exercise 4
add README file
fix main function