Create CapitalGain.java