Created gen and kill sets for each unit, added merge implementaion.