Home work 3 finished: filtering and sorting scenarios implemented.