Several Improvements. Still there're problems with trab3
Several fixes and improvements in trab1 and trab2
Commit with several bugs. (just for save the work and go on in another place)