implemented folding
Merge branch 'master' of github.com:em-mo/TDDB44

Conflicts:
	src/lab5/optimize.cc
	src/lab5/optimize.hh