End-milling machine to mill the horizontal beams of doors and windows