IsInRange Method for soldiers ; Soldiers only attack if they are in range to their target