delete test output
fix tests prices search(tests tools)
split big function
play with alhoritm and add new test
delete debug output +make code little pretty