Closest enemy in a direction (left, right, forward, back)

The first soluton worked really well thanks!