This is an IMPERFECT solution to homework 7. It is done for testing that the automatic tester works and finds bugs. If you submit it, you will get much less than 100. If we found out that you submitted it, you will get 0. So it is better for you to solve the homework on your own.