Homing missile is by far the easiest thing to code. Every clock tick, find the vector between the bullet and the target, move the bullet in that direction according to its velocity. As long as the bullet speed is fast relative to the target, it will eventually hit it.