Implemented vector space model