Add filter functionality for collections.
Add subway interface
First subway implementation with test
Add reversed case and implementation.
Make changing lines possible.
Add second case for changing lines. Fix implementation.
Refactoring for long method
Add modifiers to the expected values in test.
Change way of converting arrays to lists.
Add new test case for two-changed path.
Add implementation for path with two changes
Minor refactoring.