General Dynamics wins contract for tanks