Firms, Production and Costs Perfect Competition