to define national crimes and prescribe penalties, having due regard for local custom and tradition;