fix method
create img folder
fix result
update graph
compile into one file