object tracking  algorithm

not working yet