adding Algorithm to the right place as stated by Raj P and deleting unwanted packages from vendor

Change-Id: I0f6129b76e4d6c553da33f4542f2f966c3406fd8