Added Extract

Extract will take the input from d0 and the mask from d2, and output the data in LSB format.