Implementing heterogenous compare between Vector and List

Changes:
- Implemented equality for Vector-List comparisons
- Fixed a bug that caused a list's emptiness status to be reported incorrectly