Hw 2/unique

unique function was implemented