added several tests
one more task done
finished sorting