adding tutorial mode in main class, improve imagediff to detect if there is a difference (return 1) or not (return0) need to add this test inplaying mode