Added database queries to create likes relationship and similarity relationship, also generate recommendations

The database queries for likes and similarity relationships have been built. But the server endpoints haven't been created. Will keep on working on that.