Added algorithm, made some changes to the preposition object to make it work in the algorith, dont look at it, its weird.