from csv file of transactions create 1099-like statements of capital gains, both FIFO and LIFO