object detection for the agent

its very slow but it works better then before
Merge branch 'master' of https://github.com/crisHH/Angry-Birds