Added parsing of subset k and j
Added parsing of subsetA