last changes in hw3.3 for convenience

Ignore "wrong" input.
Unit tests for hw1-2 (no gui)