passed all lab4 tests
remove debug printfs