ARITHMETICALLY COHEN MACAULAY ALGEBRAIC CURVES